package com.dc.project_kotlin.api

import com.dc.project_kotlin.bean.ApiResponse
import com.dc.project_kotlin.bean.BannerResponse
import retrofit2.http.GET

interface ApiService {

    companion object {
        const val SERVER_URL = "https://wanandroid.com/"
    }

    /**
     * 获取banner数据
     */
    @GET("banner/json")
    suspend fun getBanner(): ApiResponse<ArrayList<BannerResponse>>
}